﻿namespace ReflexTérkép
{
    public interface ITryParser
    {
        /// <summary>
        /// Indicates whether it can convert the given value to the requested type,
        /// and converts given value to requested type.
        /// </summary>
        /// <param name="input">Value to convert</param>
        /// <param name="value">Out value</param>
        /// <returns>Boolean response.</returns>
        bool TryParse(string input, out object value);
        /// <summary>
        /// Order to execute an <see cref="ITryParser"/> in.
        /// </summary>
        int Order { get; }
    }
}